diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-07-08 12:42:35 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-07-08 12:42:35 +0100 |
| commit | 8cfec90370f6d5bc9dcae22a38b2fb0ff8520e9a (patch) | |
| tree | 10e4085f963d2975282eb35872dd3850bf929c82 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | ba04d2c936abfca3952d02b5241dfc6b15829c7a (diff) | |
Support string-add in LLVM backend
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 10 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..7d50a817 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,10 @@ +Stack: + * %tmp__0 + * %a + +Module: +declare i64 @shed__runtime__string_add(i64 %left, i64 %right) +define void @f() { + %tmp__0 = call i64 @shed__runtime__string_add(i64 %b, i64 %c) + ret void +} |
